<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
	<th:block th:include="include :: header('新增项目诊断')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
      <form class="form-horizontal m" id="form-projectDiagnosis-add">
      <input name="projectId" type="hidden" value="${project.projectId}"/>
			<div class="form-group">	
				<label class="col-sm-3 control-label">项目公司名称：</label>
				<div class="col-sm-8">
					<input class="form-control" type="text" readonly="readonly" value="${project.projectName}">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label"><span style="color: red; ">*</span>症状1：</label>
				<div class="col-sm-8">
					<input id="symptom1" name="symptom1" class="form-control" type="text" required>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">症状2：</label>
				<div class="col-sm-8">
					<input id="symptom2" name="symptom2" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">症状3：</label>
				<div class="col-sm-8">
					<input id="symptom3" name="symptom3" class="form-control" type="text">
				</div>
			</div>
		</form>
	</div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "project/projectDiagnosis"
		$("#form-projectDiagnosis-add").validate({
			focusCleanup: true
		});
		
		function submitHandler() {
      if ($.validate.form()) {
        $.operate.save(prefix + "/add", $('#form-projectDiagnosis-add').serialize());
      }
    }
	</script>
</body>
</html>
